from flask import Flask
import datetime

app = Flask(__name__)
app.config["JWT_SECRET_KEY"] = "super-secret"  # 设置 jwt 的秘钥
app.config['JWT_ACCESS_TOKEN_EXPIRES'] = datetime.timedelta(days=2)  # 过期时间设置为2天
# app.config["JWT_TOKEN_LOCATION"] = ["headers", "cookies", "json", "query_string"]
